export type IConversationDirective = {
  type: string
  tool: string
  title: string
  args: Record<string, any>
  actions: IConversationDirectiveAction[]
}

export type IConversationDirectiveAction = {
  action: string
  args: Record<string, any>
}

export type IConversationPacket = {
  requires_tools: boolean
  thought: string
  plan: string[]
  tool_calls: IConversationDirective[]
}

export type ILcCustomMessageItem = {
  id: string
  cid: string
  aid: string
  content: {
    text: string
    time: number
  }
}
